package com.ppl.server.boot.config;


/**
 * @author gutzeit
 * @since 28/6/12 12:14 PM
 */
public class ListenPointConfig {
  @Config("listen-address")
  private String address;

  @Config("listen-port")
  private int port;

  @Config("threads")
  private ThreadPoolConfig threadPool;

  @Config(value = "ssl", optional = true)
  private SSLConfig sslConfig;

  public String getAddress() {
    return address;
  }

  public int getPort() {
    return port;
  }

  public ThreadPoolConfig getThreadPool() {
    return threadPool;
  }

  public SSLConfig getSslConfig() {
    return sslConfig;
  }
}
